<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/6/25
  Time: 12:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title></title>
</head>
<script language="JavaScript" src="common.js"></script>
<body>
<center>
    <form name="form1" onsubmit="return check()" action="/servlets/add.do" method="post">
        <table align="center" border="1">
            <h2><caption>图书信息</caption></h2>
            <tr><th>编号</th><td><input type="text" name="id"> </td></tr>
            <tr><th>书名</th><td><input type="text" name="name"> </td></tr>
            <tr><th>作者</th><td><input type="text" name="author"> </td></tr>
            <tr><th>出版社</th><td><input type="text" name="press"> </td></tr>
            <tr><th>出版日期</th><td><input type="text"  name="date"> </td></tr>
            <tr><td colspan="2" align="center"><input type="submit" value="添加"><input type="reset" value="重置"></td></tr>
        </table>
    </form>
</center>
</body>
</html>

